import { initAes, encrypt, decrypt } from "../dist/bundle";

const aesKey = initAes();
console.log('key===============', aesKey);

const encodeRes = encrypt('我是待加密的文字哦', aesKey);
console.log('encodeRes===================', encodeRes);

const decodeRes = decrypt(encodeRes, aesKey);
console.log('decodeRes===============', decodeRes);
